package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "soul_score")
public class SoulScore {
    private ObjectId id;//编号
    private Long userId;//用户id
    private Integer score = 0;//获得分数
    private Long updated;//更新时间
}
